package com.example.sync.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.sync.po.SysASyncJob;

import java.util.List;

/**
 * @author chentao
 * @version 1.0
 * @description: TODO
 * @date 2025/3/22 下午1:40
 */
public interface SysASyncJobService extends IService<SysASyncJob> {

    public List<SysASyncJob> getSysASyncJob(Long serverKey, int maxSize, int maxRetryCount);

    public void updateASyncJobServerBatch(Long sourceServerId, Long targetServerId, int index, int total);

    public void updateASyncServer(Long targetServerKey, int countSize);
}
